package com.entity;

import lombok.Data;

import javax.persistence.Column;
import java.io.Serializable;
import java.util.Date;

@Data
public class BaseEntity implements Serializable {
    @Column(columnDefinition = "varchar(32) comment'创建人姓名'")
    private String crUser;
    @Column(columnDefinition = "int comment '创建人id'")
    private Integer crId;
    @Column(columnDefinition = "datetime comment'创建时间'")
    private Date crDate;
    @Column(columnDefinition = "varchar(32) comment '修改人好姓名'")
    private String moUser;
    @Column(columnDefinition = "datetime comment '修改时间'")
    private Date moDate;

}
